package com.you.raft.common.entity;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Data
public class ClientResponse implements Serializable {
    private String result;

    public ClientResponse(String result) {
        this.result = result;
    }

    public static ClientResponse ok() {
        return new ClientResponse("ok");
    }

    public static ClientResponse fail() {
        return new ClientResponse("fail");
    }

}
